package com.idp.common.utils;

import cn.hutool.core.codec.Hashids;
import cn.hutool.core.util.IdUtil;

public class NameUtil {

	private static Hashids ids;

	static {
		ids = Hashids.create("123456".toCharArray());
	}

	public static String getUniqueName() {

		return ids.encode(IdUtil.getSnowflakeNextId());
	}
}
